// body{
//     // max-width: 540px;
//     margin: 0 auto;
// }
* {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 0 none;
    outline: none;
}

.main_viewport {
    min-width: 320px;
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
    // background-color: #f4f4f4;

    // padding-top: 80px;
    .top_nav {
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        padding: 15px 10px;
        box-sizing: border-box;
        background-color: white;

        display: flex;
        width: 100%;
        top: 0;
        position: fixed;
        max-width: 540px;
        left: 50%;
        transform: translate(-50%);

        .header {
            background: url(../img/tripshoot_forward\ _black@3x.png) no-repeat 50%;
            background-size: 24px;
            width: 24px;
            height: 24px;
            margin: 7px 0;


        }

        .home_title {
            padding-top: 10px;
            box-sizing: border-box;

            img {
                // span{
                //     margin: 0 auto;
                // }
                width: 16px;
                height: 16px;
                margin-left: 4px;
                margin-right: 16px;

            }
        }

        .searchline {
            display: flex;
            position: relative;
       
            span {
                font-size: 18px;
                position: absolute;
                left: 4px;
                top: 6px;
            }

            input {
                flex: 1;
                height: 32px;
                border-radius: 32px;
                line-height: 32px;
                background: #f4f4f4;
                padding: 0 22px;
                color: #999;
                font-size: 14px;
            }
        }

        .right {
            img {
                width: 22.6px;
                height: 22.6px;
                border-radius: 50%;
            }
        }
    }

    .middle {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 64px;

        ul {
            li {
                width: 75px;
                float: left;
                font-size: 14px;
                text-align: center;
                line-height: 70px;

                //  margin: 0 10px;
            }
        }

    }

    .body1 {
            display: flex;
            justify-content: space-around;
            flex-direction: row;
            flex-wrap: wrap;
            max-width: 540px;
            margin: 0 auto;



        .item {


            width:46%;
            height: 333px;
            border-radius: 6px;
            margin-bottom: 10px;

            .top {
                img {
                    width: 100%;
                    border-radius: 6px 6px 0 0;
                    height: 238px;
                }


            }

            .middle1 {
                p {
                    margin-top: 10px;
                    margin-left: 10px;
                    font-size: 16px;
                }

            }

            .bot { display: flex;
        justify-content: space-around;
        flex-direction: row;

                margin-top: 10px;



                img {
                    width: 24px;
                    height: 24px;
                    border-radius: 50%
                }
            }
        }
    }
}